<template>
  <div class="topNav">
    <div class="topLeft">
      <i class="iconfont icon-liebiao2"></i>
    </div>
    <div class="topCenter">
      <span class="navBtn">我的</span>
      <span class="navBtn active">发现</span>
      <span class="navBtn">云村</span>
      <span class="navBtn">视频</span>
    </div>
    <div class="topRight">
      <i class="iconfont icon-sousuo"></i>
    </div>
  </div>
</template>

<script>
export default {
  name: "topNav"
}
</script>

<style lang="less" scoped>
.topNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 7.5rem;
  height: 1rem;
  padding: 0 0.2rem;

  .topCenter {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 4.5rem;
    font-size: 0.3rem;
    color: #666;
    vertical-align: middle;

    .active {
      font-weight: 700;
      font-size: 0.36rem;
      color: #000;
    }
  }

  .iconfont {
    font-size: 0.36rem;
  }
}
</style>